CPSW\Gateway\Stripe\Payment_Request_Api D

Total Complexity 150
Dependencies 5
Dependents 2
Total lines 912
Lines of code 632
Logical lines of code 373
Comment lines 124
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
payment_request_button()
C
33 22 108
ajax_selected_product_data()
B
37 17 68
build_display_items()
A
37 13 77
get_product_data()
A
39 13 66
payment_request_button_separator()
A
46 14 39
get_shipping_options()
A
41 12 54
ajax_add_to_cart()
A
50 9 26
is_selected_location()
A
58 9 15
calculate_shipping()
A
45 7 41
__construct()
S
48 6 31
ajax_update_shipping_option()
S
57 5 15
ajax_checkout()
S
59 4 13
get_product()
S
60 4 13
is_page_supported()
S
66 4 9
ajax_update_shipping_address()
S
56 2 18
ajax_get_cart_details()
S
57 2 17
update_shipping_method()
S
65 3 9
get_product_price()
S
68 3 7
localize_product_data()
S
71 1 6